package com.stormragetech.arthas.process.context;

import com.stormragetech.arthas.common.exception.ArthasException;
import com.stormragetech.arthas.process.factory.ActionWrapper;
import com.stormragetech.arthas.process.proxy.Proxy;

/**
 * description: context initialize interface
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
public interface Context {

    Proxy getProxy(ActionWrapper action);

    ActionWrapper getWrapper(String path) throws Exception;

    Object getAction(String name) throws Exception;

    Object getAction(String name, Class<?> type) throws Exception;

}
